package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 木木
 * @Email 1194660762@qq.com
 * @date 2021/8/12 16:11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private String id;
    private List<Item> items;   //订单中的商品列表
    private User user;          //订单属于哪个用户
}
